
import './index.scss'
function MyHeader(params) {
  const { title,addList } = params;
  return(
    <div className="header">
      <h1>{title}</h1>
      <span onClick={addList}>+</span>
    </div>
  )
}
export default MyHeader;